home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / share / emacs / 19.34 / lisp / profile.elc.z / profile.elc
Emacs Compiled Lisp  |  1998-10-28  |  6.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 70 73 69 |piled by| rms@psi|
|00000020| 6c 6f 63 69 6e 2e 67 6e | 75 2e 61 69 2e 6d 69 74 |locin.gn|u.ai.mit|
|00000030| 2e 65 64 75 20 6f 6e 20 | 46 72 69 20 4a 75 6e 20 |.edu on |Fri Jun |
|00000040| 32 38 20 30 35 3a 35 34 | 3a 33 30 20 31 39 39 36 |28 05:54|:30 1996|
|00000050| 0a 3b 3b 3b 20 66 72 6f | 6d 20 66 69 6c 65 20 2f |.;;; fro|m file /|
|00000060| 68 6f 6d 65 2f 66 73 66 | 2f 72 6d 73 2f 65 31 39 |home/fsf|/rms/e19|
|00000070| 2f 6c 69 73 70 2f 70 72 | 6f 66 69 6c 65 2e 65 6c |/lisp/pr|ofile.el|
|00000080| 0a 3b 3b 3b 20 65 6d 61 | 63 73 20 76 65 72 73 69 |.;;; ema|cs versi|
|00000090| 6f 6e 20 31 39 2e 33 31 | 2e 33 2e 0a 3b 3b 3b 20 |on 19.31|.3..;;; |
|000000a0| 62 79 74 65 63 6f 6d 70 | 20 76 65 72 73 69 6f 6e |bytecomp| version|
|000000b0| 20 46 53 46 20 32 2e 31 | 30 0a 3b 3b 3b 20 6f 70 | FSF 2.1|0.;;; op|
|000000c0| 74 69 6d 69 7a 61 74 69 | 6f 6e 20 69 73 20 6f 6e |timizati|on is on|
|000000d0| 2e 0a 3b 3b 3b 20 74 68 | 69 73 20 66 69 6c 65 20 |..;;; th|is file |
|000000e0| 75 73 65 73 20 6f 70 63 | 6f 64 65 73 20 77 68 69 |uses opc|odes whi|
|000000f0| 63 68 20 64 6f 20 6e 6f | 74 20 65 78 69 73 74 20 |ch do no|t exist |
|00000100| 69 6e 20 45 6d 61 63 73 | 20 31 38 2e 0a 0a 28 69 |in Emacs| 18...(i|
|00000110| 66 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |f (and (|boundp '|
|00000120| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 29 0a 09 |emacs-ve|rsion)..|
|00000130| 20 28 6f 72 20 28 61 6e | 64 20 28 62 6f 75 6e 64 | (or (an|d (bound|
|00000140| 70 20 27 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |p 'epoch|::versio|
|00000150| 6e 29 20 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |n) epoch|::versio|
|00000160| 6e 29 0a 09 20 20 20 20 | 20 28 73 74 72 69 6e 67 |n).. | (string|
|00000170| 2d 6c 65 73 73 70 20 65 | 6d 61 63 73 2d 76 65 72 |-lessp e|macs-ver|
|00000180| 73 69 6f 6e 20 22 31 39 | 2e 32 39 22 29 29 29 0a |sion "19|.29"))).|
|00000190| 20 20 20 20 28 65 72 72 | 6f 72 20 22 60 70 72 6f | (err|or "`pro|
|000001a0| 66 69 6c 65 2e 65 6c 27 | 20 77 61 73 20 63 6f 6d |file.el'| was com|
|000001b0| 70 69 6c 65 64 20 66 6f | 72 20 45 6d 61 63 73 20 |piled fo|r Emacs |
|000001c0| 31 39 2e 32 39 20 6f 72 | 20 6c 61 74 65 72 22 29 |19.29 or| later")|
|000001d0| 29 0a 0a 0a 23 40 33 32 | 20 2a 4c 69 73 74 20 6f |)...#@32| *List o|
|000001e0| 66 20 66 75 6e 63 74 69 | 6f 6e 73 20 74 6f 20 70 |f functi|ons to p|
|000001f0| 72 6f 66 69 6c 65 2e 1f | 0a 28 64 65 66 76 61 72 |rofile..|.(defvar|
|00000200| 20 70 72 6f 66 69 6c 65 | 2d 66 75 6e 63 74 69 6f | profile|-functio|
|00000210| 6e 73 2d 6c 69 73 74 20 | 6e 69 6c 20 28 23 24 20 |ns-list |nil (#$ |
|00000220| 2e 20 2d 34 37 33 29 29 | 0a 23 40 33 37 20 2a 4e |. -473))|.#@37 *N|
|00000230| 61 6d 65 20 6f 66 20 74 | 68 65 20 70 72 6f 66 69 |ame of t|he profi|
|00000240| 6c 65 20 74 69 6d 65 72 | 20 70 72 6f 67 72 61 6d |le timer| program|
|00000250| 2e 1f 0a 28 64 65 66 76 | 61 72 20 70 72 6f 66 69 |...(defv|ar profi|
|00000260| 6c 65 2d 74 69 6d 65 72 | 2d 70 72 6f 67 72 61 6d |le-timer|-program|
|00000270| 20 28 63 6f 6e 63 61 74 | 20 65 78 65 63 2d 64 69 | (concat| exec-di|
|00000280| 72 65 63 74 6f 72 79 20 | 22 70 72 6f 66 69 6c 65 |rectory |"profile|
|00000290| 22 29 20 28 23 24 20 2e | 20 2d 35 35 38 29 29 0a |") (#$ .| -558)).|
|000002a0| 23 40 32 38 20 50 72 6f | 63 65 73 73 20 72 75 6e |#@28 Pro|cess run|
|000002b0| 6e 69 6e 67 20 74 68 65 | 20 74 69 6d 65 72 2e 1f |ning the| timer..|
|000002c0| 0a 28 64 65 66 76 61 72 | 20 70 72 6f 66 69 6c 65 |.(defvar| profile|
|000002d0| 2d 74 69 6d 65 72 2d 70 | 72 6f 63 65 73 73 20 6e |-timer-p|rocess n|
|000002e0| 69 6c 20 28 23 24 20 2e | 20 36 37 37 29 29 0a 23 |il (#$ .| 677)).#|
|000002f0| 40 36 33 20 4c 69 73 74 | 20 6f 66 20 63 75 6d 75 |@63 List| of cumu|
|00000300| 6c 61 74 69 76 65 20 63 | 61 6c 6c 73 20 61 6e 64 |lative c|alls and|
|00000310| 20 74 69 6d 65 20 66 6f | 72 20 65 61 63 68 20 70 | time fo|r each p|
|00000320| 72 6f 66 69 6c 65 64 20 | 66 75 6e 63 74 69 6f 6e |rofiled |function|
|00000330| 2e 1f 0a 28 64 65 66 76 | 61 72 20 70 72 6f 66 69 |...(defv|ar profi|
|00000340| 6c 65 2d 74 69 6d 65 2d | 6c 69 73 74 20 6e 69 6c |le-time-|list nil|
|00000350| 20 28 23 24 20 2e 20 37 | 35 36 29 29 0a 23 40 39 | (#$ . 7|56)).#@9|
|00000360| 32 20 4c 69 73 74 20 6f | 66 20 65 6e 74 72 79 20 |2 List o|f entry |
|00000370| 74 69 6d 65 20 66 6f 72 | 20 65 61 63 68 20 66 75 |time for| each fu|
|00000380| 6e 63 74 69 6f 6e 2e 20 | 0a 42 6f 74 68 20 68 6f |nction. |.Both ho|
|00000390| 77 20 6d 61 6e 79 20 74 | 69 6d 65 73 20 69 6e 76 |w many t|imes inv|
|000003a0| 6f 6b 65 64 20 61 6e 64 | 20 72 65 61 6c 20 74 69 |oked and| real ti|
|000003b0| 6d 65 20 6f 66 20 73 74 | 61 72 74 2e 1f 0a 28 64 |me of st|art...(d|
|000003c0| 65 66 76 61 72 20 70 72 | 6f 66 69 6c 65 2d 69 6e |efvar pr|ofile-in|
|000003d0| 69 74 2d 6c 69 73 74 20 | 6e 69 6c 20 28 23 24 20 |it-list |nil (#$ |
|000003e0| 2e 20 38 36 36 29 29 0a | 23 40 34 36 20 4d 61 78 |. 866)).|#@46 Max|
|000003f0| 20 6c 65 6e 67 74 68 20 | 6f 66 20 6e 61 6d 65 20 | length |of name |
|00000400| 6f 66 20 61 6e 79 20 66 | 75 6e 63 74 69 6f 6e 20 |of any f|unction |
|00000410| 70 72 6f 66 69 6c 65 64 | 2e 1f 0a 28 64 65 66 76 |profiled|...(defv|
|00000420| 61 72 20 70 72 6f 66 69 | 6c 65 2d 6d 61 78 2d 66 |ar profi|le-max-f|
|00000430| 75 6e 2d 6e 61 6d 65 20 | 30 20 28 23 24 20 2e 20 |un-name |0 (#$ . |
|00000440| 31 30 30 35 29 29 0a 23 | 40 33 35 20 53 68 6f 75 |1005)).#|@35 Shou|
|00000450| 6c 64 20 4e 4f 54 20 62 | 65 20 75 73 65 64 20 61 |ld NOT b|e used a|
|00000460| 6e 79 77 68 65 72 65 20 | 65 6c 73 65 2e 1f 0a 28 |nywhere |else...(|
|00000470| 64 65 66 76 61 72 20 70 | 72 6f 66 69 6c 65 2d 74 |defvar p|rofile-t|
|00000480| 65 6d 70 2d 72 65 73 75 | 6c 74 2d 20 6e 69 6c 20 |emp-resu|lt- nil |
|00000490| 28 23 24 20 2e 20 31 31 | 30 30 29 29 0a 23 40 33 |(#$ . 11|00)).#@3|
|000004a0| 38 20 55 73 65 64 20 74 | 6f 20 72 65 74 75 72 6e |8 Used t|o return|
|000004b0| 20 72 65 73 75 6c 74 20 | 66 72 6f 6d 20 61 20 66 | result |from a f|
|000004c0| 69 6c 74 65 72 2e 1f 0a | 28 64 65 66 76 61 72 20 |ilter...|(defvar |
|000004d0| 70 72 6f 66 69 6c 65 2d | 74 69 6d 65 20 28 62 79 |profile-|time (by|
|000004e0| 74 65 2d 63 6f 64 65 20 | 22 c0 89 42 87 22 20 5b |te-code |"..B." [|
|000004f0| 30 5d 20 32 29 20 28 23 | 24 20 2e 20 31 31 38 36 |0] 2) (#|$ . 1186|
|00000500| 29 29 0a 23 40 32 35 20 | 4e 61 6d 65 20 6f 66 20 |)).#@25 |Name of |
|00000510| 70 72 6f 66 69 6c 65 20 | 62 75 66 66 65 72 2e 1f |profile |buffer..|
|00000520| 0a 28 64 65 66 76 61 72 | 20 70 72 6f 66 69 6c 65 |.(defvar| profile|
|00000530| 2d 62 75 66 66 65 72 20 | 22 2a 70 72 6f 66 69 6c |-buffer |"*profil|
|00000540| 65 2a 22 20 28 23 24 20 | 2e 20 31 32 38 38 29 29 |e*" (#$ |. 1288))|
|00000550| 0a 23 40 31 31 32 20 50 | 72 6f 66 69 6c 65 20 61 |.#@112 P|rofile a|
|00000560| 6c 6c 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 73 |ll the f|unctions|
|00000570| 20 6c 69 73 74 65 64 20 | 69 6e 20 60 70 72 6f 66 | listed |in `prof|
|00000580| 69 6c 65 2d 66 75 6e 63 | 74 69 6f 6e 73 2d 6c 69 |ile-func|tions-li|
|00000590| 73 74 27 2e 0a 57 69 74 | 68 20 61 72 67 75 6d 65 |st'..Wit|h argume|
|000005a0| 6e 74 20 46 4c 49 53 54 | 2c 20 75 73 65 20 74 68 |nt FLIST|, use th|
|000005b0| 65 20 6c 69 73 74 20 46 | 4c 49 53 54 20 69 6e 73 |e list F|LIST ins|
|000005c0| 74 65 61 64 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |tead...(|defalias|
|000005d0| 20 27 70 72 6f 66 69 6c | 65 2d 66 75 6e 63 74 69 | 'profil|e-functi|
|000005e0| 6f 6e 73 20 23 5b 28 26 | 6f 70 74 69 6f 6e 61 6c |ons #[(&|optional|
|000005f0| 20 66 6c 69 73 74 29 20 | 22 08 84 06 00 09 10 c2 | flist) |".......|
|00000600| c3 08 5c 22 87 22 20 5b | 66 6c 69 73 74 20 70 72 |..\"." [|flist pr|
|00000610| 6f 66 69 6c 65 2d 66 75 | 6e 63 74 69 6f 6e 73 2d |ofile-fu|nctions-|
|00000620| 6c 69 73 74 20 6d 61 70 | 63 61 72 20 70 72 6f 66 |list map|car prof|
|00000630| 69 6c 65 2d 61 2d 66 75 | 6e 63 74 69 6f 6e 5d 20 |ile-a-fu|nction] |
|00000640| 33 20 28 23 24 20 2e 20 | 31 33 36 37 29 20 22 50 |3 (#$ . |1367) "P|
|00000650| 22 5d 29 0a 23 40 37 34 | 20 46 69 6c 74 65 72 20 |"]).#@74| Filter |
|00000660| 66 6f 72 20 74 68 65 20 | 74 69 6d 65 72 20 70 72 |for the |timer pr|
|00000670| 6f 63 65 73 73 2e 20 20 | 53 65 74 73 20 60 70 72 |ocess. |Sets `pr|
|00000680| 6f 66 69 6c 65 2d 74 69 | 6d 65 27 20 74 6f 20 74 |ofile-ti|me' to t|
|00000690| 68 65 20 72 65 74 75 72 | 6e 65 64 20 74 69 6d 65 |he retur|ned time|
|000006a0| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 70 72 |...(defa|lias 'pr|
|000006b0| 6f 66 69 6c 65 2d 66 69 | 6c 74 65 72 20 23 5b 28 |ofile-fi|lter #[(|
|000006c0| 70 72 6f 63 65 73 73 20 | 69 6e 70 75 74 29 20 22 |process |input) "|
|000006d0| c0 c1 5c 6e 5c 22 c3 55 | 83 0f 00 c4 c5 0e 06 5c |..\n\".U|.......\|
|000006e0| 22 87 0e 07 c8 5c 6e c3 | 89 94 4f 21 a0 88 0e 07 |"....\n.|..O!....|
|000006f0| c8 5c 6e c3 95 c9 4f 21 | a1 87 22 20 5b 73 74 72 |.\n...O!|.." [str|
|00000700| 69 6e 67 2d 6d 61 74 63 | 68 20 22 5c 5c 2e 22 20 |ing-matc|h "\\." |
|00000710| 69 6e 70 75 74 20 30 20 | 65 72 72 6f 72 20 22 42 |input 0 |error "B|
|00000720| 61 64 20 6f 75 74 70 75 | 74 20 66 72 6f 6d 20 25 |ad outpu|t from %|
|00000730| 73 22 20 70 72 6f 66 69 | 6c 65 2d 74 69 6d 65 72 |s" profi|le-timer|
|00000740| 2d 70 72 6f 67 72 61 6d | 20 70 72 6f 66 69 6c 65 |-program| profile|
|00000750| 2d 74 69 6d 65 20 73 74 | 72 69 6e 67 2d 74 6f 2d |-time st|ring-to-|
|00000760| 69 6e 74 20 6e 69 6c 5d | 20 35 20 28 23 24 20 2e |int nil]| 5 (#$ .|
|00000770| 20 31 36 32 35 29 5d 29 | 0a 23 40 34 35 20 50 72 | 1625)])|.#@45 Pr|
|00000780| 69 6e 74 20 6f 6e 65 20 | 45 4e 54 52 59 20 28 66 |int one |ENTRY (f|
|00000790| 72 6f 6d 20 60 70 72 6f | 66 69 6c 65 2d 74 69 6d |rom `pro|file-tim|
|000007a0| 65 2d 6c 69 73 74 27 29 | 2e 1f 0a 28 64 65 66 61 |e-list')|...(defa|
|000007b0| 6c 69 61 73 20 27 70 72 | 6f 66 69 6c 65 2d 70 72 |lias 'pr|ofile-pr|
|000007c0| 69 6e 74 20 23 5b 28 65 | 6e 74 72 79 29 20 22 08 |int #[(e|ntry) ".|
|000007d0| 41 40 19 08 41 41 89 1a | 40 5c 6e 41 c3 5c 66 21 |A@..AA..|@\nA.\f!|
|000007e0| a5 5c 5c 1d c6 1e 07 c8 | c9 ca 0e 0b 21 cc 51 08 |.\\.....|....!.Q.|
|000007f0| 40 09 5c 6e 40 5c 6e 41 | 25 09 cd 55 83 2f 00 ce |@.\n@\nA|%..U./..|
|00000800| 82 45 00 c8 cf d0 0d 09 | a5 89 16 07 21 d0 0e 07 |.E......|....!...|
|00000810| d1 0e 07 21 5a 5c 66 5f | 21 23 b1 02 2c 87 22 20 |...!Z\f_|!#..,." |
|00000820| 5b 65 6e 74 72 79 20 63 | 61 6c 6c 73 20 74 69 6d |[entry c|alls tim|
|00000830| 65 63 20 66 6c 6f 61 74 | 20 70 72 6f 66 69 6c 65 |ec float| profile|
|00000840| 2d 6d 69 6c 6c 69 6f 6e | 20 74 69 6d 65 20 30 2e |-million| time 0.|
|00000850| 30 20 61 76 67 74 69 6d | 65 20 66 6f 72 6d 61 74 |0 avgtim|e format|
|00000860| 20 22 25 2d 22 20 69 6e | 74 2d 74 6f 2d 73 74 72 | "%-" in|t-to-str|
|00000870| 69 6e 67 20 70 72 6f 66 | 69 6c 65 2d 6d 61 78 2d |ing prof|ile-max-|
|00000880| 66 75 6e 2d 6e 61 6d 65 | 20 22 73 25 38 64 25 31 |fun-name| "s%8d%1|
|00000890| 31 64 2e 25 30 36 64 22 | 20 30 20 22 5c 6e 22 20 |1d.%06d"| 0 "\n" |
|000008a0| 22 25 31 32 64 2e 25 30 | 36 64 5c 6e 22 20 74 72 |"%12d.%0|6d\n" tr|
|000008b0| 75 6e 63 61 74 65 20 66 | 74 72 75 6e 63 61 74 65 |uncate f|truncate|
|000008c0| 5d 20 39 20 28 23 24 20 | 2e 20 31 39 31 38 29 5d |] 9 (#$ |. 1918)]|
|000008d0| 29 0a 23 40 31 30 31 20 | 44 69 73 70 6c 61 79 20 |).#@101 |Display |
|000008e0| 70 72 6f 66 69 6c 69 6e | 67 20 72 65 73 75 6c 74 |profilin|g result|
|000008f0| 73 20 69 6e 20 74 68 65 | 20 62 75 66 66 65 72 20 |s in the| buffer |
|00000900| 60 2a 70 72 6f 66 69 6c | 65 2a 27 2e 0a 28 54 68 |`*profil|e*'..(Th|
|00000910| 65 20 62 75 66 66 65 72 | 20 6e 61 6d 65 20 63 6f |e buffer| name co|
|00000920| 6d 65 73 20 66 72 6f 6d | 20 60 70 72 6f 66 69 6c |mes from| `profil|
|00000930| 65 2d 62 75 66 66 65 72 | 27 2e 29 1f 0a 28 64 65 |e-buffer|'.)..(de|
|00000940| 66 61 6c 69 61 73 20 27 | 70 72 6f 66 69 6c 65 2d |falias '|profile-|
|00000950| 72 65 73 75 6c 74 73 20 | 23 5b 6e 69 6c 20 22 c0 |results |#[nil ".|
|00000960| 09 21 88 c2 20 88 c3 c4 | 0d c6 5a c7 5c 22 b1 02 |.!.. ...|..Z.\"..|
|00000970| 88 c8 63 88 c4 0d c9 5c | 22 ca b1 02 88 cb 63 88 |..c....\|".....c.|
|00000980| cc cd 0e 0e 5c 22 87 22 | 20 5b 73 77 69 74 63 68 |....\"."| [switch|
|00000990| 2d 74 6f 2d 62 75 66 66 | 65 72 20 70 72 6f 66 69 |-to-buff|er profi|
|000009a0| 6c 65 2d 62 75 66 66 65 | 72 20 65 72 61 73 65 2d |le-buffe|r erase-|
|000009b0| 62 75 66 66 65 72 20 22 | 46 75 6e 63 74 69 6f 6e |buffer "|Function|
|000009c0| 22 20 6d 61 6b 65 2d 73 | 74 72 69 6e 67 20 70 72 |" make-s|tring pr|
|000009d0| 6f 66 69 6c 65 2d 6d 61 | 78 2d 66 75 6e 2d 6e 61 |ofile-ma|x-fun-na|
|000009e0| 6d 65 20 36 20 33 32 20 | 22 20 43 61 6c 6c 73 20 |me 6 32 |" Calls |
|000009f0| 20 54 6f 74 61 6c 20 74 | 69 6d 65 20 28 73 65 63 | Total t|ime (sec|
|00000a00| 29 20 20 41 76 67 20 74 | 69 6d 65 20 70 65 72 20 |) Avg t|ime per |
|00000a10| 63 61 6c 6c 5c 6e 22 20 | 36 31 20 22 20 20 22 20 |call\n" |61 " " |
|00000a20| 22 3d 3d 3d 3d 3d 3d 20 | 20 3d 3d 3d 3d 3d 3d 3d |"====== | =======|
|00000a30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 20 20 3d 3d 3d 3d 3d |========|= =====|
|00000a40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 5c 6e 22 20 |========|====\n" |
|00000a50| 6d 61 70 63 61 72 20 70 | 72 6f 66 69 6c 65 2d 70 |mapcar p|rofile-p|
|00000a60| 72 69 6e 74 20 70 72 6f | 66 69 6c 65 2d 74 69 6d |rint pro|file-tim|
|00000a70| 65 2d 6c 69 73 74 5d 20 | 34 20 28 23 24 20 2e 20 |e-list] |4 (#$ . |
|00000a80| 32 32 36 34 29 20 6e 69 | 6c 5d 29 0a 28 64 65 66 |2264) ni|l]).(def|
|00000a90| 61 6c 69 61 73 20 27 70 | 72 6f 66 69 6c 65 2d 72 |alias 'p|rofile-r|
|00000aa0| 65 73 65 74 2d 74 69 6d | 65 72 20 23 5b 6e 69 6c |eset-tim|er #[nil|
|00000ab0| 20 22 c0 09 c2 5c 22 87 | 22 20 5b 70 72 6f 63 65 | "...\".|" [proce|
|00000ac0| 73 73 2d 73 65 6e 64 2d | 73 74 72 69 6e 67 20 70 |ss-send-|string p|
|00000ad0| 72 6f 66 69 6c 65 2d 74 | 69 6d 65 72 2d 70 72 6f |rofile-t|imer-pro|
|00000ae0| 63 65 73 73 20 22 7a 5c | 6e 22 5d 20 33 5d 29 0a |cess "z\|n"] 3]).|
|00000af0| 23 40 34 34 20 49 66 20 | 45 4e 54 52 59 20 68 61 |#@44 If |ENTRY ha|
|00000b00| 73 20 6e 6f 6e 20 7a 65 | 72 6f 20 74 69 6d 65 2c |s non ze|ro time,|
|00000b10| 20 67 69 76 65 20 61 6e | 20 65 72 72 6f 72 2e 1f | give an| error..|
|00000b20| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 70 72 6f 66 |.(defali|as 'prof|
|00000b30| 69 6c 65 2d 63 68 65 63 | 6b 2d 7a 65 72 6f 2d 69 |ile-chec|k-zero-i|
|00000b40| 6e 69 74 2d 74 69 6d 65 | 73 20 23 5b 28 65 6e 74 |nit-time|s #[(ent|
|00000b50| 72 79 29 20 22 08 41 41 | 89 19 40 c2 55 85 0f 00 |ry) ".AA|..@.U...|
|00000b60| 09 41 c2 55 3f 85 16 00 | c3 c4 21 29 87 22 20 5b |.A.U?...|..!)." [|
|00000b70| 65 6e 74 72 79 20 74 69 | 6d 65 20 30 20 65 72 72 |entry ti|me 0 err|
|00000b80| 6f 72 20 22 50 72 6f 63 | 65 73 73 20 74 69 6d 65 |or "Proc|ess time|
|00000b90| 72 20 64 69 65 64 20 77 | 68 69 6c 65 20 6d 61 6b |r died w|hile mak|
|00000ba0| 69 6e 67 20 70 65 72 66 | 6f 72 6d 61 6e 63 65 20 |ing perf|ormance |
|00000bb0| 70 72 6f 66 69 6c 65 2e | 22 5d 20 33 20 28 23 24 |profile.|"] 3 (#$|
|00000bc0| 20 2e 20 32 38 30 35 29 | 5d 29 0a 23 40 35 30 20 | . 2805)|]).#@50 |
|00000bd0| 47 65 74 20 74 69 6d 65 | 20 66 72 6f 6d 20 74 69 |Get time| from ti|
|00000be0| 6d 65 72 20 70 72 6f 63 | 65 73 73 20 69 6e 74 6f |mer proc|ess into|
|00000bf0| 20 60 70 72 6f 66 69 6c | 65 2d 74 69 6d 65 27 2e | `profil|e-time'.|
|00000c00| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 70 72 6f |..(defal|ias 'pro|
|00000c10| 66 69 6c 65 2d 67 65 74 | 2d 74 69 6d 65 20 23 5b |file-get|-time #[|
|00000c20| 6e 69 6c 20 22 c0 09 21 | 83 0e 00 c2 09 21 c3 3d |nil "..!|.....!.=|
|00000c30| 84 2a 00 c4 c5 c6 0e 07 | 21 0e 08 23 11 c9 09 ca |.*......|!..#....|
|00000c40| 5c 22 88 cb 09 21 88 cc | 20 88 cd ce 0e 0f 5c 22 |\"...!..| .....\"|
|00000c50| 88 d0 09 d1 5c 22 88 d2 | 20 87 22 20 5b 70 72 6f |....\"..| ." [pro|
|00000c60| 63 65 73 73 70 20 70 72 | 6f 66 69 6c 65 2d 74 69 |cessp pr|ofile-ti|
|00000c70| 6d 65 72 2d 70 72 6f 63 | 65 73 73 20 70 72 6f 63 |mer-proc|ess proc|
|00000c80| 65 73 73 2d 73 74 61 74 | 75 73 20 72 75 6e 20 73 |ess-stat|us run s|
|00000c90| 74 61 72 74 2d 70 72 6f | 63 65 73 73 20 22 74 69 |tart-pro|cess "ti|
|00000ca0| 6d 65 72 22 20 67 65 74 | 2d 62 75 66 66 65 72 2d |mer" get|-buffer-|
|00000cb0| 63 72 65 61 74 65 20 70 | 72 6f 66 69 6c 65 2d 62 |create p|rofile-b|
|00000cc0| 75 66 66 65 72 20 70 72 | 6f 66 69 6c 65 2d 74 69 |uffer pr|ofile-ti|
|00000cd0| 6d 65 72 2d 70 72 6f 67 | 72 61 6d 20 73 65 74 2d |mer-prog|ram set-|
|00000ce0| 70 72 6f 63 65 73 73 2d | 66 69 6c 74 65 72 20 70 |process-|filter p|
|00000cf0| 72 6f 66 69 6c 65 2d 66 | 69 6c 74 65 72 20 70 72 |rofile-f|ilter pr|
|00000d00| 6f 63 65 73 73 2d 6b 69 | 6c 6c 2d 77 69 74 68 6f |ocess-ki|ll-witho|
|00000d10| 75 74 2d 71 75 65 72 79 | 20 70 72 6f 66 69 6c 65 |ut-query| profile|
|00000d20| 2d 72 65 73 65 74 2d 74 | 69 6d 65 72 20 6d 61 70 |-reset-t|imer map|
|00000d30| 63 61 72 20 70 72 6f 66 | 69 6c 65 2d 63 68 65 63 |car prof|ile-chec|
|00000d40| 6b 2d 7a 65 72 6f 2d 69 | 6e 69 74 2d 74 69 6d 65 |k-zero-i|nit-time|
|00000d50| 73 20 70 72 6f 66 69 6c | 65 2d 69 6e 69 74 2d 6c |s profil|e-init-l|
|00000d60| 69 73 74 20 70 72 6f 63 | 65 73 73 2d 73 65 6e 64 |ist proc|ess-send|
|00000d70| 2d 73 74 72 69 6e 67 20 | 22 70 5c 6e 22 20 61 63 |-string |"p\n" ac|
|00000d80| 63 65 70 74 2d 70 72 6f | 63 65 73 73 2d 6f 75 74 |cept-pro|cess-out|
|00000d90| 70 75 74 5d 20 34 20 28 | 23 24 20 2e 20 33 30 32 |put] 4 (|#$ . 302|
|00000da0| 34 29 5d 29 0a 23 40 33 | 33 20 4c 69 6e 65 61 72 |4)]).#@3|3 Linear|
|00000db0| 20 73 65 61 72 63 68 20 | 66 6f 72 20 46 55 4e 20 | search |for FUN |
|00000dc0| 69 6e 20 46 4c 49 53 54 | 2e 1f 0a 28 64 65 66 61 |in FLIST|...(defa|
|00000dd0| 6c 69 61 73 20 27 70 72 | 6f 66 69 6c 65 2d 66 69 |lias 'pr|ofile-fi|
|00000de0| 6e 64 2d 66 75 6e 63 74 | 69 6f 6e 20 23 5b 28 66 |nd-funct|ion #[(f|
|00000df0| 75 6e 20 66 6c 69 73 74 | 29 20 22 08 85 15 00 09 |un flist|) ".....|
|00000e00| 08 40 40 3d 83 10 00 08 | 40 41 87 c2 09 08 41 5c |.@@=....|@A....A\|
|00000e10| 22 87 22 20 5b 66 6c 69 | 73 74 20 66 75 6e 20 70 |"." [fli|st fun p|
|00000e20| 72 6f 66 69 6c 65 2d 66 | 69 6e 64 2d 66 75 6e 63 |rofile-f|ind-func|
|00000e30| 74 69 6f 6e 5d 20 33 20 | 28 23 24 20 2e 20 33 34 |tion] 3 |(#$ . 34|
|00000e40| 39 38 29 5d 29 0a 23 40 | 34 37 20 4f 6e 20 65 6e |98)]).#@|47 On en|
|00000e50| 74 72 79 2c 20 6b 65 65 | 70 20 63 75 72 72 65 6e |try, kee|p curren|
|00000e60| 74 20 74 69 6d 65 20 66 | 6f 72 20 66 75 6e 63 74 |t time f|or funct|
|00000e70| 69 6f 6e 20 46 55 4e 2e | 1f 0a 28 64 65 66 61 6c |ion FUN.|..(defal|
|00000e80| 69 61 73 20 27 70 72 6f | 66 69 6c 65 2d 73 74 61 |ias 'pro|file-sta|
|00000e90| 72 74 2d 66 75 6e 63 74 | 69 6f 6e 20 23 5b 28 66 |rt-funct|ion #[(f|
|00000ea0| 75 6e 29 20 22 c0 09 5c | 6e 5c 22 89 1b 84 0e 00 |un) "..\|n\".....|
|00000eb0| c4 c5 09 5c 22 88 0b 40 | c6 55 84 1d 00 0b 89 40 |...\"..@|.U.....@|
|00000ec0| 54 a0 82 2f 00 0b c7 a0 | 88 0b 41 89 13 0e 08 40 |T../....|..A....@|
|00000ed0| a0 88 0b 0e 08 41 a1 29 | 87 22 20 5b 70 72 6f 66 |.....A.)|." [prof|
|00000ee0| 69 6c 65 2d 66 69 6e 64 | 2d 66 75 6e 63 74 69 6f |ile-find|-functio|
|00000ef0| 6e 20 66 75 6e 20 70 72 | 6f 66 69 6c 65 2d 69 6e |n fun pr|ofile-in|
|00000f00| 69 74 2d 6c 69 73 74 20 | 69 6e 69 74 2d 74 69 6d |it-list |init-tim|
|00000f10| 65 20 65 72 72 6f 72 20 | 22 46 75 6e 63 74 69 6f |e error |"Functio|
|00000f20| 6e 20 25 73 20 6d 69 73 | 73 69 6e 67 20 66 72 6f |n %s mis|sing fro|
|00000f30| 6d 20 6c 69 73 74 22 20 | 30 20 31 20 70 72 6f 66 |m list" |0 1 prof|
|00000f40| 69 6c 65 2d 74 69 6d 65 | 5d 20 34 20 28 23 24 20 |ile-time|] 4 (#$ |
|00000f50| 2e 20 33 36 35 39 29 5d | 29 0a 28 62 79 74 65 2d |. 3659)]|).(byte-|
|00000f60| 63 6f 64 65 20 22 c0 11 | c1 5c 6e 42 12 c0 87 22 |code "..|.\nB..."|
|00000f70| 20 5b 31 30 30 30 30 30 | 30 20 70 72 6f 66 69 6c | [100000|0 profil|
|00000f80| 65 2d 6d 69 6c 6c 69 6f | 6e 20 63 75 72 72 65 6e |e-millio|n curren|
|00000f90| 74 2d 6c 6f 61 64 2d 6c | 69 73 74 5d 20 32 29 0a |t-load-l|ist] 2).|
|00000fa0| 23 40 36 36 20 57 68 65 | 6e 20 74 68 65 20 63 61 |#@66 Whe|n the ca|
|00000fb0| 6c 6c 20 74 6f 20 74 68 | 65 20 66 75 6e 63 74 69 |ll to th|e functi|
|00000fc0| 6f 6e 20 46 55 4e 20 69 | 73 20 66 69 6e 69 73 68 |on FUN i|s finish|
|00000fd0| 65 64 2c 20 61 64 64 20 | 69 74 73 20 72 75 6e 20 |ed, add |its run |
|00000fe0| 74 69 6d 65 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |time...(|defalias|
|00000ff0| 20 27 70 72 6f 66 69 6c | 65 2d 75 70 64 61 74 65 | 'profil|e-update|
|00001000| 2d 66 75 6e 63 74 69 6f | 6e 20 23 5b 28 66 75 6e |-functio|n #[(fun|
|00001010| 29 20 22 c0 09 5c 6e 5c | 22 c0 09 0b 5c 22 c4 89 |) "..\n\|"...\"..|
|00001020| 89 89 1d 1e 06 1e 07 1e | 08 1e 09 89 1e 5c 6e 83 |........|.....\n.|
|00001030| 20 00 0e 09 84 25 00 cb | cc 09 5c 22 88 0e 09 40 | ....%..|..\"...@|
|00001040| 16 08 0e 09 41 16 07 0e | 5c 6e 89 40 53 a0 88 0e |....A...|\n.@S...|
|00001050| 5c 6e 40 cd 55 85 a1 00 | 0e 09 0e 08 54 a0 88 0e |\n@.U...|....T...|
|00001060| 5c 6e 41 16 5c 6e 0e 0e | 40 0e 5c 6e 40 5a 16 06 |\nA.\n..|@.\n@Z..|
|00001070| 0e 0e 41 0e 5c 6e 41 5a | 15 0e 5c 6e cd a0 88 0e |..A.\nAZ|..\n....|
|00001080| 5c 6e cd a1 88 0d cd 59 | 84 75 00 0d 0e 0f 5c 5c |\n.....Y|.u....\\|
|00001090| 15 0e 06 53 16 06 0e 07 | 0e 06 0e 07 40 5c 5c a0 |...S....|....@\\.|
|000010a0| 88 0e 07 0d 0e 07 41 5c | 5c a1 88 0e 07 41 0e 0f |......A\|\....A..|
|000010b0| 57 3f 85 a1 00 0e 07 89 | 40 54 a0 88 0e 07 89 41 |W?......|@T.....A|
|000010c0| 0e 0f 5a a1 2e 06 87 22 | 20 5b 70 72 6f 66 69 6c |..Z...."| [profil|
|000010d0| 65 2d 66 69 6e 64 2d 66 | 75 6e 63 74 69 6f 6e 20 |e-find-f|unction |
|000010e0| 66 75 6e 20 70 72 6f 66 | 69 6c 65 2d 69 6e 69 74 |fun prof|ile-init|
|000010f0| 2d 6c 69 73 74 20 70 72 | 6f 66 69 6c 65 2d 74 69 |-list pr|ofile-ti|
|00001100| 6d 65 2d 6c 69 73 74 20 | 6e 69 6c 20 75 73 65 63 |me-list |nil usec|
|00001110| 20 73 65 63 20 74 69 6d | 65 20 63 61 6c 6c 73 20 | sec tim|e calls |
|00001120| 61 63 63 75 6d 20 69 6e | 69 74 2d 74 69 6d 65 20 |accum in|it-time |
|00001130| 65 72 72 6f 72 20 22 46 | 75 6e 63 74 69 6f 6e 20 |error "F|unction |
|00001140| 25 73 20 6d 69 73 73 69 | 6e 67 20 66 72 6f 6d 20 |%s missi|ng from |
|00001150| 6c 69 73 74 22 20 30 20 | 70 72 6f 66 69 6c 65 2d |list" 0 |profile-|
|00001160| 74 69 6d 65 20 70 72 6f | 66 69 6c 65 2d 6d 69 6c |time pro|file-mil|
|00001170| 6c 69 6f 6e 5d 20 37 20 | 28 23 24 20 2e 20 34 30 |lion] 7 |(#$ . 40|
|00001180| 30 35 29 5d 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |05)]).(d|efalias |
|00001190| 27 70 72 6f 66 69 6c 65 | 2d 63 6f 6e 76 65 72 74 |'profile|-convert|
|000011a0| 2d 62 79 74 65 2d 63 6f | 64 65 20 23 5b 28 66 75 |-byte-co|de #[(fu|
|000011b0| 6e 63 74 69 6f 6e 29 20 | 22 08 4b 19 c2 09 21 85 |nction) |".K...!.|
|000011c0| 44 00 c3 09 c4 5c 22 1d | c6 0d 41 40 c7 0d 38 c8 |D....\".|..A@..8.|
|000011d0| 0d 38 46 43 1e 09 ca 0d | 9b 83 2c 00 cb ca 0d 38 |.8FC....|..,....8|
|000011e0| 44 0e 09 42 16 09 cc 0d | 38 83 3a 00 cd 08 21 0e |D..B....|8.:...!.|
|000011f0| 09 42 16 09 08 ce 0d 40 | 0e 09 42 42 4d 2a 29 87 |.B.....@|..BBM*).|
|00001200| 22 20 5b 66 75 6e 63 74 | 69 6f 6e 20 64 65 66 6e |" [funct|ion defn|
|00001210| 20 62 79 74 65 2d 63 6f | 64 65 2d 66 75 6e 63 74 | byte-co|de-funct|
|00001220| 69 6f 6e 2d 70 20 61 70 | 70 65 6e 64 20 6e 69 6c |ion-p ap|pend nil|
|00001230| 20 63 6f 6e 74 65 6e 74 | 73 20 62 79 74 65 2d 63 | content|s byte-c|
|00001240| 6f 64 65 20 32 20 33 20 | 62 6f 64 79 20 35 20 69 |ode 2 3 |body 5 i|
|00001250| 6e 74 65 72 61 63 74 69 | 76 65 20 34 20 64 6f 63 |nteracti|ve 4 doc|
|00001260| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 6c 61 6d 62 64 |umentati|on lambd|
|00001270| 61 5d 20 35 5d 29 0a 23 | 40 32 37 20 50 72 6f 66 |a] 5]).#|@27 Prof|
|00001280| 69 6c 65 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e |ile the |function|
|00001290| 20 46 55 4e 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 | FUN...(|defalias|
|000012a0| 20 27 70 72 6f 66 69 6c | 65 2d 61 2d 66 75 6e 63 | 'profil|e-a-func|
|000012b0| 74 69 6f 6e 20 23 5b 28 | 66 75 6e 29 20 22 c0 09 |tion #[(|fun) "..|
|000012c0| 21 88 09 4b c2 09 21 47 | 1b 89 1c 40 c5 3d 84 18 |!..K..!G|...@.=..|
|000012d0| 00 c6 c7 09 5c 22 88 09 | c8 89 89 42 42 42 0e 09 |....\"..|...BBB..|
|000012e0| 42 16 09 09 c8 89 89 42 | 42 42 0e 5c 6e 42 16 5c |B......B|BB.\nB.\|
|000012f0| 6e 0e 0b 0b 57 83 3a 00 | 0b 16 0b 09 cc 09 5c 66 |n...W.:.|......\f|
|00001300| 5c 22 4d 2a 87 22 20 5b | 70 72 6f 66 69 6c 65 2d |\"M*." [|profile-|
|00001310| 63 6f 6e 76 65 72 74 2d | 62 79 74 65 2d 63 6f 64 |convert-|byte-cod|
|00001320| 65 20 66 75 6e 20 73 79 | 6d 62 6f 6c 2d 6e 61 6d |e fun sy|mbol-nam|
|00001330| 65 20 66 75 6e 6c 65 6e | 20 64 65 66 20 6c 61 6d |e funlen| def lam|
|00001340| 62 64 61 20 65 72 72 6f | 72 20 22 54 6f 20 70 72 |bda erro|r "To pr|
|00001350| 6f 66 69 6c 65 3a 20 25 | 73 20 6d 75 73 74 20 62 |ofile: %|s must b|
|00001360| 65 20 61 20 75 73 65 72 | 2d 64 65 66 69 6e 65 64 |e a user|-defined|
|00001370| 20 66 75 6e 63 74 69 6f | 6e 22 20 30 20 70 72 6f | functio|n" 0 pro|
|00001380| 66 69 6c 65 2d 74 69 6d | 65 2d 6c 69 73 74 20 70 |file-tim|e-list p|
|00001390| 72 6f 66 69 6c 65 2d 69 | 6e 69 74 2d 6c 69 73 74 |rofile-i|nit-list|
|000013a0| 20 70 72 6f 66 69 6c 65 | 2d 6d 61 78 2d 66 75 6e | profile|-max-fun|
|000013b0| 2d 6e 61 6d 65 20 70 72 | 6f 66 69 6c 65 2d 66 69 |-name pr|ofile-fi|
|000013c0| 78 2d 66 75 6e 5d 20 35 | 20 28 23 24 20 2e 20 34 |x-fun] 5| (#$ . 4|
|000013d0| 37 33 32 29 20 22 61 46 | 75 6e 63 74 69 6f 6e 20 |732) "aF|unction |
|000013e0| 74 6f 20 70 72 6f 66 69 | 6c 65 3a 20 22 5d 29 0a |to profi|le: "]).|
|000013f0| 23 40 38 34 20 54 61 6b | 65 20 66 75 6e 63 74 69 |#@84 Tak|e functi|
|00001400| 6f 6e 20 46 55 4e 20 61 | 6e 64 20 72 65 74 75 72 |on FUN a|nd retur|
|00001410| 6e 20 69 74 20 66 69 78 | 65 64 20 66 6f 72 20 70 |n it fix|ed for p|
|00001420| 72 6f 66 69 6c 69 6e 67 | 2e 0a 44 45 46 20 69 73 |rofiling|..DEF is|
|00001430| 20 28 73 79 6d 62 6f 6c | 2d 66 75 6e 63 74 69 6f | (symbol|-functio|
|00001440| 6e 20 46 55 4e 29 2e 1f | 0a 28 64 65 66 61 6c 69 |n FUN)..|.(defali|
|00001450| 61 73 20 27 70 72 6f 66 | 69 6c 65 2d 66 69 78 2d |as 'prof|ile-fix-|
|00001460| 66 75 6e 20 23 5b 28 66 | 75 6e 20 64 65 66 29 20 |fun #[(f|un def) |
|00001470| 22 c0 89 89 89 c1 c0 89 | 1a 1b 1c 1d 1e 06 1e 07 |".......|........|
|00001480| 1e 08 0e 09 47 ca 57 3f | 85 a0 00 0e 09 40 16 07 |....G.W?|.....@..|
|00001490| 0e 09 41 40 16 06 0e 09 | 41 41 40 15 0e 07 0e 06 |..A@....|AA@.....|
|000014a0| 44 16 08 0d 3b 85 3c 00 | 0e 09 47 ca 57 3f 85 a0 |D...;.<.|..G.W?..|
|000014b0| 00 0d 3b 84 4a 00 0d 13 | 82 59 00 ca 14 0e 08 0d |..;.J...|.Y......|
|000014c0| 43 a4 16 08 ca 0e 09 9b | 40 13 0b 3c 83 6f 00 0b |C.......|@..<.o..|
|000014d0| 40 cb 3d 83 6f 00 0e 08 | 0b 43 a4 16 08 5c 66 54 |@.=.o...|.C...\fT|
|000014e0| 14 5c 66 0e 09 9b 89 12 | 40 cc 9a 3f 85 a0 00 0e |.\f.....|@..?....|
|000014f0| 08 cd 43 a4 ce cf 0e 10 | 44 44 43 a4 d1 d2 d3 43 |..C.....|DDC....C|
|00001500| 5c 6e a4 45 43 a4 d4 43 | a4 d5 cf 0e 10 44 44 43 |\n.EC..C|.....DDC|
|00001510| a4 d2 43 a4 2e 07 87 22 | 20 5b 6e 69 6c 20 32 20 |..C...."| [nil 2 |
|00001520| 73 75 66 66 69 78 20 69 | 6e 74 65 72 20 63 6f 75 |suffix i|nter cou|
|00001530| 6e 74 20 74 68 69 72 64 | 20 73 65 63 6f 6e 64 20 |nt third| second |
|00001540| 66 69 72 73 74 20 70 72 | 65 66 69 78 20 64 65 66 |first pr|efix def|
|00001550| 20 33 20 69 6e 74 65 72 | 61 63 74 69 76 65 20 28 | 3 inter|active (|
|00001560| 70 72 6f 66 69 6c 65 2d | 67 65 74 2d 74 69 6d 65 |profile-|get-time|
|00001570| 29 20 28 70 72 6f 66 69 | 6c 65 2d 67 65 74 2d 74 |) (profi|le-get-t|
|00001580| 69 6d 65 29 20 70 72 6f | 66 69 6c 65 2d 73 74 61 |ime) pro|file-sta|
|00001590| 72 74 2d 66 75 6e 63 74 | 69 6f 6e 20 71 75 6f 74 |rt-funct|ion quot|
|000015a0| 65 20 66 75 6e 20 73 65 | 74 71 20 70 72 6f 66 69 |e fun se|tq profi|
|000015b0| 6c 65 2d 74 65 6d 70 2d | 72 65 73 75 6c 74 2d 20 |le-temp-|result- |
|000015c0| 70 72 6f 67 6e 20 28 70 | 72 6f 66 69 6c 65 2d 67 |progn (p|rofile-g|
|000015d0| 65 74 2d 74 69 6d 65 29 | 20 70 72 6f 66 69 6c 65 |et-time)| profile|
|000015e0| 2d 75 70 64 61 74 65 2d | 66 75 6e 63 74 69 6f 6e |-update-|function|
|000015f0| 5d 20 38 20 28 23 24 20 | 2e 20 35 31 30 39 29 5d |] 8 (#$ |. 5109)]|
|00001600| 29 0a 23 40 35 34 20 52 | 65 73 74 6f 72 65 20 70 |).#@54 R|estore p|
|00001610| 72 6f 66 69 6c 65 64 20 | 66 75 6e 63 74 69 6f 6e |rofiled |function|
|00001620| 20 46 55 4e 20 74 6f 20 | 69 74 73 20 6f 72 69 67 | FUN to |its orig|
|00001630| 69 6e 61 6c 20 73 74 61 | 74 65 2e 1f 0a 28 64 65 |inal sta|te...(de|
|00001640| 66 61 6c 69 61 73 20 27 | 70 72 6f 66 69 6c 65 2d |falias '|profile-|
|00001650| 72 65 73 74 6f 72 65 2d | 66 75 6e 20 23 5b 28 66 |restore-|fun #[(f|
|00001660| 75 6e 29 20 22 08 40 4b | c1 89 1a 1b 89 1c 41 89 |un) ".@K|......A.|
|00001670| 12 41 40 3b 83 15 00 5c | 6e 41 12 5c 6e 41 40 3c |.A@;...\|nA.\nA@<|
|00001680| 83 28 00 5c 6e 41 40 40 | c5 3d 83 28 00 5c 6e 41 |.(.\nA@@|.=.(.\nA|
|00001690| 12 c6 5c 6e 9b 40 89 13 | 3c 85 41 00 0b 41 40 c7 |..\n.@..|<.A..A@.|
|000016a0| 3d 85 41 00 5c 6e 0b 41 | 41 40 41 a1 2b 87 22 20 |=.A.\n.A|A@A.+." |
|000016b0| 5b 66 75 6e 20 6e 69 6c | 20 69 6e 64 65 78 20 62 |[fun nil| index b|
|000016c0| 6f 64 79 20 64 65 66 20 | 69 6e 74 65 72 61 63 74 |ody def |interact|
|000016d0| 69 76 65 20 33 20 70 72 | 6f 66 69 6c 65 2d 74 65 |ive 3 pr|ofile-te|
|000016e0| 6d 70 2d 72 65 73 75 6c | 74 2d 5d 20 34 20 28 23 |mp-resul|t-] 4 (#|
|000016f0| 24 20 2e 20 35 36 33 39 | 29 5d 29 0a 23 40 35 32 |$ . 5639|)]).#@52|
|00001700| 20 53 74 6f 70 20 70 72 | 6f 66 69 6c 69 6e 67 20 | Stop pr|ofiling |
|00001710| 66 75 6e 63 74 69 6f 6e | 73 2e 20 20 43 6c 65 61 |function|s. Clea|
|00001720| 72 20 61 6c 6c 20 74 68 | 65 20 73 65 74 74 69 6e |r all th|e settin|
|00001730| 67 73 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |gs...(de|falias '|
|00001740| 70 72 6f 66 69 6c 65 2d | 66 69 6e 69 73 68 20 23 |profile-|finish #|
|00001750| 5b 6e 69 6c 20 22 c0 c1 | 5c 6e 5c 22 88 c3 14 c5 |[nil "..|\n\"....|
|00001760| 12 c5 89 16 06 87 22 20 | 5b 6d 61 70 63 61 72 20 |......" |[mapcar |
|00001770| 70 72 6f 66 69 6c 65 2d | 72 65 73 74 6f 72 65 2d |profile-|restore-|
|00001780| 66 75 6e 20 70 72 6f 66 | 69 6c 65 2d 74 69 6d 65 |fun prof|ile-time|
|00001790| 2d 6c 69 73 74 20 30 20 | 70 72 6f 66 69 6c 65 2d |-list 0 |profile-|
|000017a0| 6d 61 78 2d 66 75 6e 2d | 6e 61 6d 65 20 6e 69 6c |max-fun-|name nil|
|000017b0| 20 70 72 6f 66 69 6c 65 | 2d 69 6e 69 74 2d 6c 69 | profile|-init-li|
|000017c0| 73 74 5d 20 33 20 28 23 | 24 20 2e 20 35 38 38 39 |st] 3 (#|$ . 5889|
|000017d0| 29 20 6e 69 6c 5d 29 0a | 23 40 32 35 20 4b 69 6c |) nil]).|#@25 Kil|
|000017e0| 6c 20 74 68 65 20 74 69 | 6d 65 72 20 70 72 6f 63 |l the ti|mer proc|
|000017f0| 65 73 73 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ess...(d|efalias |
|00001800| 27 70 72 6f 66 69 6c 65 | 2d 71 75 69 74 20 23 5b |'profile|-quit #[|
|00001810| 6e 69 6c 20 22 c0 09 c2 | 5c 22 87 22 20 5b 70 72 |nil "...|\"." [pr|
|00001820| 6f 63 65 73 73 2d 73 65 | 6e 64 2d 73 74 72 69 6e |ocess-se|nd-strin|
|00001830| 67 20 70 72 6f 66 69 6c | 65 2d 74 69 6d 65 72 2d |g profil|e-timer-|
|00001840| 70 72 6f 63 65 73 73 20 | 22 71 5c 6e 22 5d 20 33 |process |"q\n"] 3|
|00001850| 20 28 23 24 20 2e 20 36 | 31 30 39 29 20 6e 69 6c | (#$ . 6|109) nil|
|00001860| 5d 29 0a | |]). | |
+--------+-------------------------+-------------------------+--------+--------+